<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html class="win-frame">
<head>
 <title>${name_china}管理-查看${name_china}</title>
 <%@include file="/common/head.jsp" %>
 <link href="<%=request.getContextPath()%>/static/plugin/zTree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet">
 <script src="<%=request.getContextPath()%>/static/plugin/zTree/js/jquery.ztree.all-3.5.min.js"></script>
</head>
<body class="iframe-page">
<div class="page-title-wrapper">
    <div class="page-title">
        <div class="page-title-text">
            <span>${name_china}管理</span>
            <span class="split"></span>
            <span>${name_china}详情</span>
        </div>
        <a id="goBack" class="btn-return distance-left" href="javascript:;" onclick="parent.refreshList('${org.code}');"><i class="icon icon-arrow-left"></i>返回上级</a>
    </div>
    <div class="page-title-border"></div>
</div>

<form id="form">
<div class="left-wrap">
   <h3>基本信息</h3>
    <table class="table-view">
        <tr>
	       <td class="td-title">附件信息</td>
	       <td id="fjxx"></td>
        </tr>
         <tr>
	       <td class="td-title">排序</td>
	       <td><span name="reorder"></span></td>
        </tr>
        <tr>
	       <td class="td-title">用户ID</td>
	       <td><span name="userId"></span></td>
        </tr>
        <tr>
        	<td class="td-title">用户名称</td>
        	<td><span name="userNickName"></span></td>
        </tr>
         <tr>
	       <td class="td-title">收货人姓名</td>
	       <td><span name="reciever"></span></td>
        </tr>
         <tr>
	       <td class="td-title">收货人电话</td>
	       <td><span name="phone"></span></td>
        </tr>
         <tr>
	       <td class="td-title">收货人地址</td>
	       <td><span name="address"></span></td>
        </tr>
         <tr>
	       <td class="td-title">商品IDS</td>
	       <td><span name="goodsId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品名称</td>
	       <td><span name="goodsName"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品图片</td>
	       <td><span name="goodsImg"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品原价</td>
	       <td><span name="goodsOriginprice"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品折后价</td>
	       <td><span name="goodsDiscountPrice"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品颜色</td>
	       <td><span name="goodsColor"></span></td>
        </tr>
        <tr>
	       <td class="td-title">商品尺寸</td>
	       <td><span name="goodsSize"></span></td>
        </tr>
        <tr>
	       <td class="td-title">数量</td>
	       <td><span name="count"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否折扣价</td>
	       <td><span name="isDiscount"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否使用红包</td>
	       <td><span name="isRedpac"></span></td>
        </tr>
        <tr>
	       <td class="td-title">物流费用</td>
	       <td><span name="transfee"></span></td>
        </tr>
        <tr>
	       <td class="td-title">实际支付金额</td>
	       <td><span name="actualPay"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否退换</td>
	       <td><span name="isReturn"></span></td>
        </tr>
        <tr>
	       <td class="td-title">订单号</td>
	       <td><span name="orderNo"></span></td>
        </tr>
        <tr>
	       <td class="td-title">支付交易号</td>
	       <td><span name="payNo"></span></td>
        </tr>
        <tr>
	       <td class="td-title">付款时间</td>
	       <td><span name="payTime"></span></td>
        </tr>
        <tr>
	       <td class="td-title">红包金额</td>
	       <td><span name="redpacAmount"></span></td>
        </tr>
        <tr>
	       <td class="td-title">店铺ID</td>
	       <td><span name="storeId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">店铺名称</td>
	       <td><span name="storeName"></span></td>
        </tr>
        <tr>
	       <td class="td-title">订单开始时间</td>
	       <td><span name="startTime"></span></td>
        </tr>
        <tr>
	       <td class="td-title">订单结束时间</td>
	       <td><span name="endTime"></span></td>
        </tr>
        <tr>
	       <td class="td-title">发货时间</td>
	       <td><span name="transTime"></span></td>
        </tr>
        <tr>
	       <td class="td-title">折扣券ID</td>
	       <td><span name="couponId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">店铺ID</td>
	       <td><span name="storeId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">物流ID</td>
	       <td><span name="transId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">订单状态</td>
	       <td><span name="state"></span></td>
        </tr>
        <tr>
	       <td class="td-title">售后申请ID</td>
	       <td><span name="afterSaleAppid"></span></td>
        </tr>
        <tr>
	       <td class="td-title">评论ID</td>
	       <td><span name="judgeId"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否展示退货按钮</td>
	       <td><span name="isShowCancel"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否展示换货按钮</td>
	       <td><span name="isShowChange"></span></td>
        </tr>
        <tr>
	       <td class="td-title">是否展示维修按钮</td>
	       <td><span name="isShowFix"></span></td>
        </tr>
        <tr>
	       <td class="td-title">订单类型（友惠家）</td>
	       <td><span name="type"></span></td>
        </tr>
        <tr>
	       <td class="td-title">售后处理状态</td>
	       <td><span name="aftersaleState"></span></td>
        </tr>

    </table>
</div>   
</form>
<script>
   $(function(){
	   data = ${viewEdit};
	   initFileView(data.fileId);
	   $("#form").form().form("loadDataView",{
   		  data : data
   	   }); 
	   $('#goBack').on('click', backHome);
   });
   
   function initFileView(fileId){
	   var config = {
			  "sessionId" : "${pageContext.session.id}",
			  "formId" : "form"
	   };
	   var fileInfo = upLoadUtil.getFileInfo(fileId,"fjxx");
	   upLoadUtil.createViewHtml(config,fileInfo);
   }
   
   function backHome() {
      window.location.href =  basePath + "${common_url}init";
   }
</script>
</body>
</html>